Skip to content

[mlir][python] source line info #149166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

makslevental
Copy link
Contributor

No description provided.

@makslevental makslevental force-pushed the makslevental/jax-locs-traceback branch from bec65c3 to b502ab6 Compare July 16, 2025 19:39
@makslevental makslevental force-pushed the makslevental/jax-locs-traceback branch 2 times, most recently from ebf792d to 1d1b3b9 Compare July 29, 2025 00:44
Copy link

github-actions bot commented Jul 29, 2025

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
git-clang-format --diff HEAD~1 HEAD --extensions h,cpp -- mlir/lib/Bindings/Python/Traceback.cpp mlir/lib/Bindings/Python/Traceback.h mlir/lib/Bindings/Python/IRCore.cpp mlir/lib/Bindings/Python/IRModule.h mlir/lib/Bindings/Python/MainModule.cpp
View the diff from clang-format here.
diff --git a/mlir/lib/Bindings/Python/IRModule.h b/mlir/lib/Bindings/Python/IRModule.h
index e21d8660e..87e1a0b12 100644
--- a/mlir/lib/Bindings/Python/IRModule.h
+++ b/mlir/lib/Bindings/Python/IRModule.h
@@ -722,8 +722,7 @@ public:
          llvm::ArrayRef<MlirValue> operands,
          std::optional<nanobind::dict> attributes,
          std::optional<std::vector<PyBlock *>> successors, int regions,
-         PyLocation location, const nanobind::object &ip,
-         bool inferType);
+         PyLocation location, const nanobind::object &ip, bool inferType);
 
   /// Creates an OpView suitable for this operation.
   nanobind::object createOpView();

@makslevental makslevental force-pushed the makslevental/jax-locs-traceback branch 4 times, most recently from 1723eb9 to 46adb54 Compare July 29, 2025 01:12
@makslevental makslevental force-pushed the makslevental/jax-locs-traceback branch 6 times, most recently from 7a5a911 to f10e124 Compare July 29, 2025 18:52
@makslevental makslevental force-pushed the makslevental/jax-locs-traceback branch from f10e124 to f60824e Compare July 29, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant